.class public Les/qk;
.super Ljava/lang/Object;
.source "DailyDataLoader.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/qk$d;
    }
.end annotation


# instance fields
.field private final a:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "newFileDaily"

    .line 2
    iput-object v0, p0, Les/qk;->a:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Les/qk;Ljava/lang/String;Ljava/lang/String;JLjava/util/Map;)Les/rk;
    .locals 0

    .line 1
    invoke-direct/range {p0 .. p5}, Les/qk;->a(Ljava/lang/String;Ljava/lang/String;JLjava/util/Map;)Les/rk;

    move-result-object p0

    return-object p0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;JLjava/util/Map;)Les/rk;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "J",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Les/rk;",
            ">;)",
            "Les/rk;"
        }
    .end annotation

    .line 6
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 7
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 8
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 9
    :cond_0
    invoke-interface {p5, p2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 10
    invoke-interface {p5, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/rk;

    .line 11
    iget-wide v0, p1, Les/rk;->b:J

    add-long/2addr v0, p3

    iput-wide v0, p1, Les/rk;->b:J

    goto :goto_0

    .line 12
    :cond_1
    new-instance p1, Les/rk;

    invoke-direct {p1}, Les/rk;-><init>()V

    .line 13
    invoke-direct {p0, p2}, Les/qk;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p1, Les/rk;->a:Ljava/lang/String;

    .line 14
    iput-wide p3, p1, Les/rk;->b:J

    .line 15
    invoke-interface {p5, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_0
    return-object p1
.end method

.method private a(I)Ljava/lang/String;
    .locals 1

    .line 30
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method static synthetic a(Les/qk;)Ljava/lang/String;
    .locals 0

    .line 2
    invoke-direct {p0}, Les/qk;->b()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private a(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    const-string v0, "DCIM"

    .line 16
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const p1, 0x7f11062c

    .line 17
    invoke-direct {p0, p1}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_0
    const-string v0, "Screenshots"

    .line 18
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const p1, 0x7f110631

    .line 19
    invoke-direct {p0, p1}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_1
    const-string v0, "Download"

    .line 20
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const p1, 0x7f11062d

    .line 21
    invoke-direct {p0, p1}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_2
    const-string v0, "Backups"

    .line 22
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const p1, 0x7f11062b

    .line 23
    invoke-direct {p0, p1}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_3
    const-string v0, "SDCards"

    .line 24
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const p1, 0x7f110630

    .line 25
    invoke-direct {p0, p1}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 26
    :cond_4
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    const/4 v1, 0x0

    .line 27
    invoke-virtual {v0, p1, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v1

    .line 28
    iget-object v1, v1, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    invoke-virtual {v1, v0}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 29
    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "newFileDaily"

    invoke-static {v1, v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-object p1
.end method

.method private a(Les/pk;Les/qk$d;)V
    .locals 1

    .line 31
    new-instance v0, Les/qk$c;

    invoke-direct {v0, p0, p2, p1}, Les/qk$c;-><init>(Les/qk;Les/qk$d;Les/pk;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic a(Les/qk;Les/pk;Les/qk$d;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Les/qk;->a(Les/pk;Les/qk$d;)V

    return-void
.end method

.method private b()Ljava/lang/String;
    .locals 1

    const v0, 0x7f110775

    .line 1
    invoke-direct {p0, v0}, Les/qk;->a(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private b(Les/qk$d;)V
    .locals 1

    .line 2
    new-instance v0, Les/qk$b;

    invoke-direct {v0, p0, p1}, Les/qk$b;-><init>(Les/qk;Les/qk$d;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 0

    return-void
.end method

.method public a(Les/qk$d;)V
    .locals 1

    .line 4
    invoke-direct {p0, p1}, Les/qk;->b(Les/qk$d;)V

    .line 5
    new-instance v0, Les/qk$a;

    invoke-direct {v0, p0, p1}, Les/qk$a;-><init>(Les/qk;Les/qk$d;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o;->b(Ljava/lang/Runnable;)V

    return-void
.end method
